﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AMOOF {
    public partial class ReportObject : UserControl {

        public Label PDFName {
            set { this.lblPDFName = value; }
            get { return this.lblPDFName; }
        }

        public DataGridView PDFCTEVaR {
            set { this.dgvCTEVaR = value; }
            get { return this.dgvCTEVaR; }
        }

        public Panel Histogram {
            set { this.pnlHistogram = value; }
            get { return this.pnlHistogram; }
        }

        public void SetMoment(int moment, object value) {
            this.Controls["lblModelMoment" + (moment < 0 ? "_" + Math.Abs(moment).ToString() : moment.ToString())].Text = value.ToString(); 
        }

        public Label Error {
            set { this.lblAverageErrorValue = value; }
            get { return this.lblAverageErrorValue; }
        }

        public ReportObject() {
            InitializeComponent();
        }
    }
}
